import http from '../../AxiosInstance'

export const RegisterApi = (data)=>{
    return http({
        url: '/users/register',
        method: 'post',
        data
    })
}

// login by phone and password
export const LoginApi = (data)=>{  
    return http({
        url: '/users/phone',
        method: 'post',
        data
    })
}       